<template>
  <div id="app">
    <router-view />
  </div>
</template>

<script>

import { mapState, mapActions } from 'vuex';
import * as tools from '@/utils/tools';
import store from '@/store';

import moment from 'moment';

export default {
  name: 'App',

  computed: {
    ...mapState(['token'])
  },

  data() {
    return {
      timer: null,
      expirationTime: 0,
    };
  },

  mounted() {
    // let a = parseInt(moment().format('x')) + 1;
    // let b = new Date().getTime();
    // console.log(a, b);
    // if (b > a) {
    //   console.log(444);
    // }
  },

  methods: {
    ...mapActions(['getDeptMapAction'])
  },

};
</script>

<style lang="less">
  #app {
    overflow-y: hidden;
    min-width: 1024px;
  }

  .main-box {
    height: 100%;
    display: flex;
    flex-direction: column;

    .content {
      flex: 1;

      .content-box {
        min-height: 100%;

        /deep/ .el-table {
          /*min-height: 75% !important;*/

          &::before {
            height: 0;
          }
        }
      }
    }
  }
</style>
